import _axios from '../axios'
import config from '../../config'

const { userApi } = config

const user = {
  test: (data) => _axios.post('/test', data, { baseURL: userApi }),
  login: (data) => _axios.post('/login',data, { baseURL: userApi })
}
export default user